<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>
		店铺设置
	</title>
	<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
	<script src="{{__PUBLIC__}}/hdjs/hdjs.min.js" type="text/javascript" charset="utf-8"></script>
	<link rel="stylesheet" type="text/css" href="{{__PUBLIC__}}/hdjs/hdjs.css"/>
	<link rel="stylesheet" href="public/kindeditor/themes/default/default.css" />
	<script src="public/kindeditor/kindeditor.js"></script>
	<script src="public/kindeditor/lang/zh_CN.js"></script>
	<script src="{{__PUBLIC__}}/js/common.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=WcqLYXBH2tHLhYNfPNpZCD4s"></script>
	<script type="text/javascript" src="public/js/map.js"></script>
	<script type="text/javascript">
		var root = "{{__ROOT__}}";
	</script>
	<style type="text/css">
		.notice{
			color:#333;
			font-size:12px;
			padding:10px;
		}
	</style>
</head>
<body>
	<h1>店铺设置</h1>
	<form id="form">
		<table class="hd-table hd-table-form hd-form">
			<thead>
				<tr>
					<td colspan="2">
						店铺设置
					</td>
				</tr>
			</thead>
			<tbody>
				<tr>
					<th width="100">
						店铺名称
					</th>
					<td>
						<input type="text" name="name" class="hd-w200">
					</td>
				</tr>
				<tr>
					<th>
						店铺管理密码
					</th>
					<td>
						<input type="password" name="password" class="hd-w200">
					</td>
				</tr>
				<tr>
					<th>
						电话
					</th>
					<td>
						<input type="tel" name="tel" class="hd-w200">
					</td>
				</tr>

				<tr>
					<th>
						送餐时间
					</th>
					<td>
						<input type="text" name="from_time" class="hd-w200">
					</td>
				</tr>
				<tr>
					<th>
						展示图
					</th>
					<td>
						<img src="" alt=""  style="width:80px;"/>
						<input type="hidden" name="thumb" value="" />
						<button type="button" class="selectImage">选择图片</button>
					</td>
				</tr>
				<tr>
					<th>
						地址
					</th>
					<td>
						<!--地图容器-->
						<div id="hd-map" style="height:300px;width:500px;"></div>
						<!--搜索框-->
						<div id="r-result">请输入:<input type="text" name="address" id="suggestId" size="20" value="百度" style="width:150px;"/></div>
						<!--搜索结果-->
						<div id="searchResultPanel" style="border:1px solid #C0C0C0;width:350px;height:auto; display:none;"></div>
						经度:<input type="text" id="lng" name="lng"> 纬度:<input type="text" name="lat" id="lat">
						<script type="text/javascript">
							showMap('l-map');
						</script>
					</td>
				</tr>
				<tr>
					<td></td>
					<td>
						<button type="submit" id="btn" class="hd-btn hd-btn-sm">提交</button>
					</td>
				</tr>
			</tbody>
		</table>
	</form>
	<script type="text/javascript">
		ajaxPost('{{__URL__}}','form','btn',"{{U('Set/index')}}");
	</script>
</body>
</html>